﻿using IOA.MES.DataAccess.Enum;
using System;

namespace IOA.MES.DataAccess.VModel
{
    /// <summary>
    /// 成品组件表
    /// </summary>
    public class VComponent : BaseVModel
    {
        private string _orderNo = string.Empty;
        private string _workOrderNo = string.Empty;
        private string _workshopCode = string.Empty;
        private string _workshopName = string.Empty;
        private string _barCode = string.Empty;
        private string _productCode = string.Empty;
        private string _productName = string.Empty;
        private string _lineName = string.Empty;
        private string _weldingDuty = string.Empty;
        private string _weldingLine = string.Empty;
        private string _weldingMachine = string.Empty;
        private string _weldingUser = string.Empty;
        private string _laminatedDuty = string.Empty;
        private string _laminatedLine = string.Empty;
        private string _laminatedMachine = string.Empty;
        private string _laminatedUser = string.Empty;
        private string _eL1Duty = string.Empty;
        private string _eL1Line = string.Empty;
        private string _eL1Machine = string.Empty;
        private string _eL1User = string.Empty;
        private string _topDuty = string.Empty;
        private string _topLine = string.Empty;
        private string _topMachine = string.Empty;
        private string _topPosition = string.Empty;
        private string _topUser = string.Empty;
        private string _nQCDuty = string.Empty;
        private string _nQCLine = string.Empty;
        private string _nQCMachine = string.Empty;
        private string _nQCUser = string.Empty;
        private string _framingDuty = string.Empty;
        private string _framingLine = string.Empty;
        private string _framingMachine = string.Empty;
        private string _framingUser = string.Empty;
        private string _cleanDuty = string.Empty;
        private string _cleanLine = string.Empty;
        private string _cleanMachine = string.Empty;
        private string _cleanUser = string.Empty;
        private string _iVTestDuty = string.Empty;
        private string _iVTestLine = string.Empty;
        private string _iVTestMachine = string.Empty;
        private string _iVTestUser = string.Empty;
        private string _insulatedResistanceDuty = string.Empty;
        private string _insulatedResistanceLine = string.Empty;
        private string _insulatedResistanceMachine = string.Empty;
        private string _insulatedResistanceUser = string.Empty;
        private string _eL2Duty = string.Empty;
        private string _eL2Line = string.Empty;
        private string _eL2Machine = string.Empty;
        private string _eL2User = string.Empty;
        private string _nameplatePrintingDuty = string.Empty;
        private string _nameplatePrintingLine = string.Empty;
        private string _nameplatePrintingMachine = string.Empty;
        private string _nameplatePrintingUser = string.Empty;
        private string _finalInspectionDuty = string.Empty;
        private string _finalInspectionLine = string.Empty;
        private string _finalInspectionMachine = string.Empty;
        private string _finalInspectionUser = string.Empty;
        private string _finalInspectionBadReason = string.Empty;
        private string _finalInspectionComponentType = string.Empty;
        private string _finalInspectionCellFeature = string.Empty;
        private string _packDuty = string.Empty;
        private string _packLine = string.Empty;
        private string _packMachine = string.Empty;
        private string _packUser = string.Empty;
        private string _cellColor = string.Empty;
        private string _componentColor = string.Empty;
        private string _eL1Image = string.Empty;
        private string _boxImage = string.Empty;
        private string _ivImage = string.Empty;
        private string _eL2Image = string.Empty;
        private string _nameplateModel = string.Empty;
        private string _iVCurrentLevel = string.Empty;
        private string _qLevel = string.Empty;
        private string _junBoxSpecs = string.Empty;
        private string _junBoxFactory = string.Empty;
        private string _backPlanSpecs = string.Empty;
        private string _backPlanFactory = string.Empty;
        private string _aluFrameSpecs = string.Empty;
        private string _aluFrameFactory = string.Empty;
        private string _batterySpecs = string.Empty;
        private string _batteryFactory = string.Empty;
        private string _packBatchNo = string.Empty;
        private string _packNo = string.Empty;
        private string _cabinetNo = string.Empty;
        private string _reworkNo = string.Empty;
        private string _customerCode = string.Empty;
        private string _customerName = string.Empty;
        private string _warehouseCode = string.Empty;
        private string _warehouseName = string.Empty;
        private string _warehouseAreaCode = string.Empty;
        private string _warehouseAreaName = string.Empty;
        private string _location = string.Empty;
        private string _downgradeCode = string.Empty;
        private string _downgradeName = string.Empty;
        private string _downgradeTypeCode = string.Empty;
        private string _downgradeTypeName = string.Empty;
        private string _batteryBatchNo = string.Empty;
        private string _backPlanBatchNo = string.Empty;
        private string _aluFrameBatchNo = string.Empty;
        private string _junBoxBatchNo = string.Empty;
        private string _powerRange = string.Empty;
        private string _batteryCode = string.Empty;
        private string _junBoxCode = string.Empty;
        private string _shortFrameCode = string.Empty;
        private string _longFrameCode = string.Empty;
        private string _backPlanCode = string.Empty;
        private string _glassCode = string.Empty;
        private string _glassFactory = string.Empty;
        private string _silicagelCode = string.Empty;
        private string _glassSpecs = string.Empty;
        private string _glassBatchNo = string.Empty;
        private string _evaCode = string.Empty;
        private string _evaSpecs = string.Empty;
        private string _evaCompany = string.Empty;
        private string _evaBatchNo = string.Empty;
        private string _ribbonCode = string.Empty;
        private string _ribbonSpecs = string.Empty;
        private string _ribbonCompany = string.Empty;
        private string _ribbonBatchNo = string.Empty;
        private string _shortFrameSpecs = string.Empty;
        private string _shortFrameCompany = string.Empty;
        private string _shortFrameBatchNo = string.Empty;
        private string _verifyCode = string.Empty;
        private string _productSpecs = string.Empty;
        private string _lockedReason = string.Empty;
        private string _cellBoxNo = string.Empty;

        #region Public Property

        ///<Summary>
        /// 防伪码
        ///</Summary>
        public string VerifyCode
        {
            get { return string.IsNullOrWhiteSpace(_verifyCode) ? string.Empty : _verifyCode; }
            set { _verifyCode = value; }
        }

        ///<Summary>
        /// 订单号
        ///</Summary>
        public string OrderNo
        {
            get { return string.IsNullOrWhiteSpace(_orderNo) ? string.Empty : _orderNo; }
            set { _orderNo = value; }
        }

        ///<Summary>
        /// 工单号
        ///</Summary>
        public string WorkOrderNo
        {
            get { return string.IsNullOrWhiteSpace(_workOrderNo) ? string.Empty : _workOrderNo; }
            set { _workOrderNo = value; }
        }

        ///<Summary>
        /// 车间代码
        ///</Summary>
        public string WorkshopCode
        {
            get { return string.IsNullOrWhiteSpace(_workshopCode) ? string.Empty : _workshopCode; }
            set { _workshopCode = value; }
        }

        ///<Summary>
        /// 车间名称
        ///</Summary>
        public string WorkshopName
        {
            get { return string.IsNullOrWhiteSpace(_workshopName) ? string.Empty : _workshopName; }
            set { _workshopName = value; }
        }

        ///<Summary>
        /// 组件条码
        ///</Summary>
        public string BarCode
        {
            get { return string.IsNullOrWhiteSpace(_barCode) ? string.Empty : _barCode; }
            set { _barCode = value; }
        }

        ///<Summary>
        /// 产品料号
        ///</Summary>
        public string ProductCode
        {
            get { return string.IsNullOrWhiteSpace(_productCode) ? string.Empty : _productCode; }
            set { _productCode = value; }
        }

        ///<Summary>
        /// 产品名称
        ///</Summary>
        public string ProductName
        {
            get { return string.IsNullOrWhiteSpace(_productName) ? string.Empty : _productName; }
            set { _productName = value; }
        }

        ///<Summary>
        /// 成品物料规格
        ///</Summary>
        public string ProductSpecs
        {
            get { return string.IsNullOrWhiteSpace(_productSpecs) ? string.Empty : _productSpecs; }
            set { _productSpecs = value; }
        }

        ///<Summary>
        /// 流水线ID
        ///</Summary>
        public int LineId { get; set; }

        ///<Summary>
        /// 流水线名称
        ///</Summary>
        public string LineName
        {
            get { return string.IsNullOrWhiteSpace(_lineName) ? string.Empty : _lineName; }
            set { _lineName = value; }
        }

        ///<Summary>
        /// 最终站点
        ///</Summary>
        public Enum.SiteType? LastSite { get; set; }

        ///<Summary>
        /// 最终站点时间
        ///</Summary>
        public DateTime? LastSiteTime { get; set; }

        ///<Summary>
        /// 分片时间
        ///</Summary>
        public DateTime? DistributeTime { get; set; }

        ///<Summary>
        /// 焊接时间
        ///</Summary>
        public DateTime? WeldingTime { get; set; }

        ///<Summary>
        /// 焊接时间
        ///</Summary>
        public int WeldingDutyId { get; set; }

        ///<Summary>
        /// WeldingDuty
        ///</Summary>
        public string WeldingDuty
        {
            get { return string.IsNullOrWhiteSpace(_weldingDuty) ? string.Empty : _weldingDuty; }
            set { _weldingDuty = value; }
        }

        ///<Summary>
        /// WeldingLineId
        ///</Summary>
        public int WeldingLineId { get; set; }

        ///<Summary>
        /// WeldingLine
        ///</Summary>
        public string WeldingLine
        {
            get { return string.IsNullOrWhiteSpace(_weldingLine) ? string.Empty : _weldingLine; }
            set { _weldingLine = value; }
        }

        ///<Summary>
        /// WeldingMachineId
        ///</Summary>
        public int WeldingMachineId { get; set; }

        ///<Summary>
        /// WeldingMachine
        ///</Summary>
        public string WeldingMachine
        {
            get { return string.IsNullOrWhiteSpace(_weldingMachine) ? string.Empty : _weldingMachine; }
            set { _weldingMachine = value; }
        }

        ///<Summary>
        /// WeldingUser
        ///</Summary>
        public string WeldingUser
        {
            get { return string.IsNullOrWhiteSpace(_weldingUser) ? string.Empty : _weldingUser; }
            set { _weldingUser = value; }
        }

        ///<Summary>
        /// 叠层时间
        ///</Summary>
        public DateTime? LaminatedTime { get; set; }

        ///<Summary>
        /// LaminatedDutyId
        ///</Summary>
        public int LaminatedDutyId { get; set; }

        ///<Summary>
        /// LaminatedDuty
        ///</Summary>
        public string LaminatedDuty
        {
            get { return string.IsNullOrWhiteSpace(_laminatedDuty) ? string.Empty : _laminatedDuty; }
            set { _laminatedDuty = value; }
        }

        ///<Summary>
        /// LaminatedLineId
        ///</Summary>
        public int LaminatedLineId { get; set; }

        ///<Summary>
        /// LaminatedLine
        ///</Summary>
        public string LaminatedLine
        {
            get { return string.IsNullOrWhiteSpace(_laminatedLine) ? string.Empty : _laminatedLine; }
            set { _laminatedLine = value; }
        }

        ///<Summary>
        /// LaminatedMachineId
        ///</Summary>
        public int LaminatedMachineId { get; set; }

        ///<Summary>
        /// LaminatedMachine
        ///</Summary>
        public string LaminatedMachine
        {
            get { return string.IsNullOrWhiteSpace(_laminatedMachine) ? string.Empty : _laminatedMachine; }
            set { _laminatedMachine = value; }
        }

        ///<Summary>
        /// LaminatedUser
        ///</Summary>
        public string LaminatedUser
        {
            get { return string.IsNullOrWhiteSpace(_laminatedUser) ? string.Empty : _laminatedUser; }
            set { _laminatedUser = value; }
        }

        ///<Summary>
        /// EL1时间
        ///</Summary>
        public DateTime? EL1Time { get; set; }

        ///<Summary>
        /// EL1DutyId
        ///</Summary>
        public int EL1DutyId { get; set; }

        ///<Summary>
        /// EL1Duty
        ///</Summary>
        public string EL1Duty
        {
            get { return string.IsNullOrWhiteSpace(_eL1Duty) ? string.Empty : _eL1Duty; }
            set { _eL1Duty = value; }
        }

        ///<Summary>
        /// EL1LineId
        ///</Summary>
        public int EL1LineId { get; set; }

        ///<Summary>
        /// EL1Line
        ///</Summary>
        public string EL1Line
        {
            get { return string.IsNullOrWhiteSpace(_eL1Line) ? string.Empty : _eL1Line; }
            set { _eL1Line = value; }
        }

        ///<Summary>
        /// EL1MachineId
        ///</Summary>
        public int EL1MachineId { get; set; }

        ///<Summary>
        /// EL1Machine
        ///</Summary>
        public string EL1Machine
        {
            get { return string.IsNullOrWhiteSpace(_eL1Machine) ? string.Empty : _eL1Machine; }
            set { _eL1Machine = value; }
        }

        ///<Summary>
        /// EL1User
        ///</Summary>
        public string EL1User
        {
            get { return string.IsNullOrWhiteSpace(_eL1User) ? string.Empty : _eL1User; }
            set { _eL1User = value; }
        }

        ///<Summary>
        /// 层压时间
        ///</Summary>
        public DateTime? TopTime { get; set; }

        ///<Summary>
        /// TopDutyId
        ///</Summary>
        public int TopDutyId { get; set; }

        ///<Summary>
        /// TopDuty
        ///</Summary>
        public string TopDuty
        {
            get { return string.IsNullOrWhiteSpace(_topDuty) ? string.Empty : _topDuty; }
            set { _topDuty = value; }
        }

        ///<Summary>
        /// TopLineId
        ///</Summary>
        public int TopLineId { get; set; }

        ///<Summary>
        /// TopLine
        ///</Summary>
        public string TopLine
        {
            get { return string.IsNullOrWhiteSpace(_topLine) ? string.Empty : _topLine; }
            set { _topLine = value; }
        }

        ///<Summary>
        /// TopMachineId
        ///</Summary>
        public int TopMachineId { get; set; }

        ///<Summary>
        /// TopMachine
        ///</Summary>
        public string TopMachine
        {
            get { return string.IsNullOrWhiteSpace(_topMachine) ? string.Empty : _topMachine; }
            set { _topMachine = value; }
        }

        ///<Summary>
        /// 层压位置
        ///</Summary>
        public string TopPosition
        {
            get { return string.IsNullOrWhiteSpace(_topPosition) ? string.Empty : _topPosition; }
            set { _topPosition = value; }
        }

        ///<Summary>
        /// TopUser
        ///</Summary>
        public string TopUser
        {
            get { return string.IsNullOrWhiteSpace(_topUser) ? string.Empty : _topUser; }
            set { _topUser = value; }
        }

        ///<Summary>
        /// NQC时间
        ///</Summary>
        public DateTime? NQCTime { get; set; }

        ///<Summary>
        /// NQCDutyId
        ///</Summary>
        public int NQCDutyId { get; set; }

        ///<Summary>
        /// NQCDuty
        ///</Summary>
        public string NQCDuty
        {
            get { return string.IsNullOrWhiteSpace(_nQCDuty) ? string.Empty : _nQCDuty; }
            set { _nQCDuty = value; }
        }

        ///<Summary>
        /// NQCLineId
        ///</Summary>
        public int NQCLineId { get; set; }

        ///<Summary>
        /// NQCLine
        ///</Summary>
        public string NQCLine
        {
            get { return string.IsNullOrWhiteSpace(_nQCLine) ? string.Empty : _nQCLine; }
            set { _nQCLine = value; }
        }

        ///<Summary>
        /// NQCMachineId
        ///</Summary>
        public int NQCMachineId { get; set; }

        ///<Summary>
        /// NQCMachine
        ///</Summary>
        public string NQCMachine
        {
            get { return string.IsNullOrWhiteSpace(_nQCMachine) ? string.Empty : _nQCMachine; }
            set { _nQCMachine = value; }
        }

        ///<Summary>
        /// NQCUser
        ///</Summary>
        public string NQCUser
        {
            get { return string.IsNullOrWhiteSpace(_nQCUser) ? string.Empty : _nQCUser; }
            set { _nQCUser = value; }
        }

        ///<Summary>
        /// 装框时间
        ///</Summary>
        public DateTime? FramingTime { get; set; }

        ///<Summary>
        /// FramingDutyId
        ///</Summary>
        public int FramingDutyId { get; set; }

        ///<Summary>
        /// FramingDuty
        ///</Summary>
        public string FramingDuty
        {
            get { return string.IsNullOrWhiteSpace(_framingDuty) ? string.Empty : _framingDuty; }
            set { _framingDuty = value; }
        }

        ///<Summary>
        /// FramingLineId
        ///</Summary>
        public int FramingLineId { get; set; }

        ///<Summary>
        /// FramingLine
        ///</Summary>
        public string FramingLine
        {
            get { return string.IsNullOrWhiteSpace(_framingLine) ? string.Empty : _framingLine; }
            set { _framingLine = value; }
        }

        ///<Summary>
        /// FramingMachineId
        ///</Summary>
        public int FramingMachineId { get; set; }

        ///<Summary>
        /// FramingMachine
        ///</Summary>
        public string FramingMachine
        {
            get { return string.IsNullOrWhiteSpace(_framingMachine) ? string.Empty : _framingMachine; }
            set { _framingMachine = value; }
        }

        ///<Summary>
        /// FramingUser
        ///</Summary>
        public string FramingUser
        {
            get { return string.IsNullOrWhiteSpace(_framingUser) ? string.Empty : _framingUser; }
            set { _framingUser = value; }
        }

        ///<Summary>
        /// 清洗时间
        ///</Summary>
        public DateTime? CleanTime { get; set; }

        ///<Summary>
        /// CleanDutyId
        ///</Summary>
        public int CleanDutyId { get; set; }

        ///<Summary>
        /// CleanDuty
        ///</Summary>
        public string CleanDuty
        {
            get { return string.IsNullOrWhiteSpace(_cleanDuty) ? string.Empty : _cleanDuty; }
            set { _cleanDuty = value; }
        }

        ///<Summary>
        /// CleanLineId
        ///</Summary>
        public int CleanLineId { get; set; }

        ///<Summary>
        /// CleanLine
        ///</Summary>
        public string CleanLine
        {
            get { return string.IsNullOrWhiteSpace(_cleanLine) ? string.Empty : _cleanLine; }
            set { _cleanLine = value; }
        }

        ///<Summary>
        /// CleanMachineId
        ///</Summary>
        public int CleanMachineId { get; set; }

        ///<Summary>
        /// CleanMachine
        ///</Summary>
        public string CleanMachine
        {
            get { return string.IsNullOrWhiteSpace(_cleanMachine) ? string.Empty : _cleanMachine; }
            set { _cleanMachine = value; }
        }

        ///<Summary>
        /// CleanUser
        ///</Summary>
        public string CleanUser
        {
            get { return string.IsNullOrWhiteSpace(_cleanUser) ? string.Empty : _cleanUser; }
            set { _cleanUser = value; }
        }

        ///<Summary>
        /// IV测试时间
        ///</Summary>
        public DateTime? IVTestTime { get; set; }

        ///<Summary>
        /// IVTestDutyId
        ///</Summary>
        public int IVTestDutyId { get; set; }

        ///<Summary>
        /// IVTestDuty
        ///</Summary>
        public string IVTestDuty
        {
            get { return string.IsNullOrWhiteSpace(_iVTestDuty) ? string.Empty : _iVTestDuty; }
            set { _iVTestDuty = value; }
        }

        ///<Summary>
        /// IVTestLineId
        ///</Summary>
        public int IVTestLineId { get; set; }

        ///<Summary>
        /// IVTestLine
        ///</Summary>
        public string IVTestLine
        {
            get { return string.IsNullOrWhiteSpace(_iVTestLine) ? string.Empty : _iVTestLine; }
            set { _iVTestLine = value; }
        }

        ///<Summary>
        /// IVTestMachineId
        ///</Summary>
        public int IVTestMachineId { get; set; }

        ///<Summary>
        /// IVTestMachine
        ///</Summary>
        public string IVTestMachine
        {
            get { return string.IsNullOrWhiteSpace(_iVTestMachine) ? string.Empty : _iVTestMachine; }
            set { _iVTestMachine = value; }
        }

        ///<Summary>
        /// IVTestUser
        ///</Summary>
        public string IVTestUser
        {
            get { return string.IsNullOrWhiteSpace(_iVTestUser) ? string.Empty : _iVTestUser; }
            set { _iVTestUser = value; }
        }

        ///<Summary>
        /// 绝缘耐压时间
        ///</Summary>
        public DateTime? InsulatedResistanceTime { get; set; }

        ///<Summary>
        /// InsulatedResistanceDutyId
        ///</Summary>
        public int InsulatedResistanceDutyId { get; set; }

        ///<Summary>
        /// InsulatedResistanceDuty
        ///</Summary>
        public string InsulatedResistanceDuty
        {
            get { return string.IsNullOrWhiteSpace(_insulatedResistanceDuty) ? string.Empty : _insulatedResistanceDuty; }
            set { _insulatedResistanceDuty = value; }
        }

        ///<Summary>
        /// InsulatedResistanceLineId
        ///</Summary>
        public int InsulatedResistanceLineId { get; set; }

        ///<Summary>
        /// InsulatedResistanceLine
        ///</Summary>
        public string InsulatedResistanceLine
        {
            get { return string.IsNullOrWhiteSpace(_insulatedResistanceLine) ? string.Empty : _insulatedResistanceLine; }
            set { _insulatedResistanceLine = value; }
        }

        ///<Summary>
        /// InsulatedResistanceMachineId
        ///</Summary>
        public int InsulatedResistanceMachineId { get; set; }

        ///<Summary>
        /// InsulatedResistanceMachine
        ///</Summary>
        public string InsulatedResistanceMachine
        {
            get { return string.IsNullOrWhiteSpace(_insulatedResistanceMachine) ? string.Empty : _insulatedResistanceMachine; }
            set { _insulatedResistanceMachine = value; }
        }

        ///<Summary>
        /// InsulatedResistanceUser
        ///</Summary>
        public string InsulatedResistanceUser
        {
            get { return string.IsNullOrWhiteSpace(_insulatedResistanceUser) ? string.Empty : _insulatedResistanceUser; }
            set { _insulatedResistanceUser = value; }
        }

        ///<Summary>
        /// EL2时间
        ///</Summary>
        public DateTime? EL2Time { get; set; }

        ///<Summary>
        /// EL2DutyId
        ///</Summary>
        public int EL2DutyId { get; set; }

        ///<Summary>
        /// EL2Duty
        ///</Summary>
        public string EL2Duty
        {
            get { return string.IsNullOrWhiteSpace(_eL2Duty) ? string.Empty : _eL2Duty; }
            set { _eL2Duty = value; }
        }

        ///<Summary>
        /// EL2LineId
        ///</Summary>
        public int EL2LineId { get; set; }

        ///<Summary>
        /// EL2Line
        ///</Summary>
        public string EL2Line
        {
            get { return string.IsNullOrWhiteSpace(_eL2Line) ? string.Empty : _eL2Line; }
            set { _eL2Line = value; }
        }

        ///<Summary>
        /// EL2MachineId
        ///</Summary>
        public int EL2MachineId { get; set; }

        ///<Summary>
        /// EL2Machine
        ///</Summary>
        public string EL2Machine
        {
            get { return string.IsNullOrWhiteSpace(_eL2Machine) ? string.Empty : _eL2Machine; }
            set { _eL2Machine = value; }
        }

        ///<Summary>
        /// EL2User
        ///</Summary>
        public string EL2User
        {
            get { return string.IsNullOrWhiteSpace(_eL2User) ? string.Empty : _eL2User; }
            set { _eL2User = value; }
        }

        ///<Summary>
        /// 铭牌打印时间
        ///</Summary>
        public DateTime? NameplatePrintingTime { get; set; }

        ///<Summary>
        /// NameplatePrintingDutyId
        ///</Summary>
        public int NameplatePrintingDutyId { get; set; }

        ///<Summary>
        /// NameplatePrintingDuty
        ///</Summary>
        public string NameplatePrintingDuty
        {
            get { return string.IsNullOrWhiteSpace(_nameplatePrintingDuty) ? string.Empty : _nameplatePrintingDuty; }
            set { _nameplatePrintingDuty = value; }
        }

        ///<Summary>
        /// NameplatePrintingLineId
        ///</Summary>
        public int NameplatePrintingLineId { get; set; }

        ///<Summary>
        /// NameplatePrintingLine
        ///</Summary>
        public string NameplatePrintingLine
        {
            get { return string.IsNullOrWhiteSpace(_nameplatePrintingLine) ? string.Empty : _nameplatePrintingLine; }
            set { _nameplatePrintingLine = value; }
        }

        ///<Summary>
        /// NameplatePrintingMachineId
        ///</Summary>
        public int NameplatePrintingMachineId { get; set; }

        ///<Summary>
        /// NameplatePrintingMachine
        ///</Summary>
        public string NameplatePrintingMachine
        {
            get { return string.IsNullOrWhiteSpace(_nameplatePrintingMachine) ? string.Empty : _nameplatePrintingMachine; }
            set { _nameplatePrintingMachine = value; }
        }

        ///<Summary>
        /// NameplatePrintingUser
        ///</Summary>
        public string NameplatePrintingUser
        {
            get { return string.IsNullOrWhiteSpace(_nameplatePrintingUser) ? string.Empty : _nameplatePrintingUser; }
            set { _nameplatePrintingUser = value; }
        }

        ///<Summary>
        /// 终检时间
        ///</Summary>
        public DateTime? FinalInspectionTime { get; set; }

        ///<Summary>
        /// FinalInspectionDutyId
        ///</Summary>
        public int FinalInspectionDutyId { get; set; }

        ///<Summary>
        /// FinalInspectionDuty
        ///</Summary>
        public string FinalInspectionDuty
        {
            get { return string.IsNullOrWhiteSpace(_finalInspectionDuty) ? string.Empty : _finalInspectionDuty; }
            set { _finalInspectionDuty = value; }
        }

        ///<Summary>
        /// FinalInspectionLineId
        ///</Summary>
        public int FinalInspectionLineId { get; set; }

        ///<Summary>
        /// FinalInspectionLine
        ///</Summary>
        public string FinalInspectionLine
        {
            get { return string.IsNullOrWhiteSpace(_finalInspectionLine) ? string.Empty : _finalInspectionLine; }
            set { _finalInspectionLine = value; }
        }

        ///<Summary>
        /// FinalInspectionMachineId
        ///</Summary>
        public int FinalInspectionMachineId { get; set; }

        ///<Summary>
        /// FinalInspectionMachine
        ///</Summary>
        public string FinalInspectionMachine
        {
            get { return string.IsNullOrWhiteSpace(_finalInspectionMachine) ? string.Empty : _finalInspectionMachine; }
            set { _finalInspectionMachine = value; }
        }

        ///<Summary>
        /// FinalInspectionUser
        ///</Summary>
        public string FinalInspectionUser
        {
            get { return string.IsNullOrWhiteSpace(_finalInspectionUser) ? string.Empty : _finalInspectionUser; }
            set { _finalInspectionUser = value; }
        }

        ///<Summary>
        /// FinalInspectionBadReason
        ///</Summary>
        public string FinalInspectionBadReason
        {
            get { return string.IsNullOrWhiteSpace(_finalInspectionBadReason) ? string.Empty : _finalInspectionBadReason; }
            set { _finalInspectionBadReason = value; }
        }

        ///<Summary>
        /// FinalInspectionComponentType
        ///</Summary>
        public string FinalInspectionComponentType
        {
            get { return string.IsNullOrWhiteSpace(_finalInspectionComponentType) ? string.Empty : _finalInspectionComponentType; }
            set { _finalInspectionComponentType = value; }
        }

        ///<Summary>
        /// FinalInspectionCellFeature
        ///</Summary>
        public string FinalInspectionCellFeature
        {
            get { return string.IsNullOrWhiteSpace(_finalInspectionCellFeature) ? string.Empty : _finalInspectionCellFeature; }
            set { _finalInspectionCellFeature = value; }
        }

        ///<Summary>
        /// 打包时间
        ///</Summary>
        public DateTime? PackTime { get; set; }

        ///<Summary>
        /// PackDutyId
        ///</Summary>
        public int PackDutyId { get; set; }

        ///<Summary>
        /// PackDuty
        ///</Summary>
        public string PackDuty
        {
            get { return string.IsNullOrWhiteSpace(_packDuty) ? string.Empty : _packDuty; }
            set { _packDuty = value; }
        }

        ///<Summary>
        /// PackLineId
        ///</Summary>
        public int PackLineId { get; set; }

        ///<Summary>
        /// PackLine
        ///</Summary>
        public string PackLine
        {
            get { return string.IsNullOrWhiteSpace(_packLine) ? string.Empty : _packLine; }
            set { _packLine = value; }
        }

        ///<Summary>
        /// PackMachineId
        ///</Summary>
        public int PackMachineId { get; set; }

        ///<Summary>
        /// PackMachine
        ///</Summary>
        public string PackMachine
        {
            get { return string.IsNullOrWhiteSpace(_packMachine) ? string.Empty : _packMachine; }
            set { _packMachine = value; }
        }

        ///<Summary>
        /// PackUser
        ///</Summary>
        public string PackUser
        {
            get { return string.IsNullOrWhiteSpace(_packUser) ? string.Empty : _packUser; }
            set { _packUser = value; }
        }

        ///<Summary>
        /// EL1一次合格
        ///</Summary>
        public bool? EL1OncePass { get; set; }

        ///<Summary>
        /// 层压出料一次合格
        ///</Summary>
        public bool? NQCOncePass { get; set; }

        ///<Summary>
        /// EL2一次合格
        ///</Summary>
        public bool? EL2OncePass { get; set; }

        ///<Summary>
        /// 终检一次合格
        ///</Summary>
        public bool? FinalInspectionOncePass { get; set; }

        ///<Summary>
        /// 电池片颜色
        ///</Summary>
        public string CellColor
        {
            get { return string.IsNullOrWhiteSpace(_cellColor) ? string.Empty : _cellColor; }
            set { _cellColor = value; }
        }

        ///<Summary>
        /// 组件颜色
        ///</Summary>
        public string ComponentColor
        {
            get { return string.IsNullOrWhiteSpace(_componentColor) ? string.Empty : _componentColor; }
            set { _componentColor = value; }
        }

        ///<Summary>
        /// EL1图片
        ///</Summary>
        public string EL1Image
        {
            get { return string.IsNullOrWhiteSpace(_eL1Image) ? string.Empty : _eL1Image; }
            set { _eL1Image = value; }
        }

        ///<Summary>
        /// BoxImage
        ///</Summary>
        public string BoxImage
        {
            get { return string.IsNullOrWhiteSpace(_boxImage) ? string.Empty : _boxImage; }
            set { _boxImage = value; }
        }

        ///<Summary>
        /// IvImage
        ///</Summary>
        public string IvImage
        {
            get { return string.IsNullOrWhiteSpace(_ivImage) ? string.Empty : _ivImage; }
            set { _ivImage = value; }
        }

        ///<Summary>
        /// EL2Image
        ///</Summary>
        public string EL2Image
        {
            get { return string.IsNullOrWhiteSpace(_eL2Image) ? string.Empty : _eL2Image; }
            set { _eL2Image = value; }
        }

        ///<Summary>
        /// NameplateModel
        ///</Summary>
        public string NameplateModel
        {
            get { return string.IsNullOrWhiteSpace(_nameplateModel) ? string.Empty : _nameplateModel; }
            set { _nameplateModel = value; }
        }

        ///<Summary>
        /// 功率档
        ///</Summary>
        public decimal? IVPowerLevel { get; set; }

        /// <summary>
        /// 功率范围
        /// </summary>
        public string PowerRange
        {
            get { return string.IsNullOrWhiteSpace(_powerRange) ? string.Empty : _powerRange; }
            set { _powerRange = value; }
        }

        ///<Summary>
        /// 电流档
        ///</Summary>
        public string IVCurrentLevel
        {
            get { return string.IsNullOrWhiteSpace(_iVCurrentLevel) ? string.Empty : _iVCurrentLevel; }
            set { _iVCurrentLevel = value; }
        }

        ///<Summary>
        /// Isc
        ///</Summary>
        public decimal? Isc { get; set; }

        ///<Summary>
        /// Voc
        ///</Summary>
        public decimal? Voc { get; set; }

        ///<Summary>
        /// Vm
        ///</Summary>
        public decimal? Vm { get; set; }

        ///<Summary>
        /// Im
        ///</Summary>
        public decimal? Im { get; set; }

        ///<Summary>
        /// FF
        ///</Summary>
        public decimal? FF { get; set; }

        ///<Summary>
        /// Pmax
        ///</Summary>
        public decimal? Pmax { get; set; }

        ///<Summary>
        /// Temp
        ///</Summary>
        public decimal? Temp { get; set; }

        ///<Summary>
        /// Ress
        ///</Summary>
        public decimal? Ress { get; set; }

        ///<Summary>
        /// Ressh
        ///</Summary>
        public decimal? Ressh { get; set; }

        ///<Summary>
        /// ModEff
        ///</Summary>
        public decimal? ModEff { get; set; }

        ///<Summary>
        /// SunRef
        ///</Summary>
        public decimal? SunRef { get; set; }

        /// <summary>
        /// 组件类型
        /// </summary>
        public ComponentType? ComponentType { get; set; }

        ///<Summary>
        /// 组件等级
        ///</Summary>
        public string QLevel
        {
            get { return string.IsNullOrWhiteSpace(_qLevel) ? string.Empty : _qLevel; }
            set { _qLevel = value; }
        }

        ///<Summary>
        /// JunBoxSpecs
        ///</Summary>
        public string JunBoxSpecs
        {
            get { return string.IsNullOrWhiteSpace(_junBoxSpecs) ? string.Empty : _junBoxSpecs; }
            set { _junBoxSpecs = value; }
        }

        ///<Summary>
        /// JunBoxFactory
        ///</Summary>
        public string JunBoxFactory
        {
            get { return string.IsNullOrWhiteSpace(_junBoxFactory) ? string.Empty : _junBoxFactory; }
            set { _junBoxFactory = value; }
        }

        ///<Summary>
        /// BackPlanSpecs
        ///</Summary>
        public string BackPlanSpecs
        {
            get { return string.IsNullOrWhiteSpace(_backPlanSpecs) ? string.Empty : _backPlanSpecs; }
            set { _backPlanSpecs = value; }
        }

        ///<Summary>
        /// BackPlanFactory
        ///</Summary>
        public string BackPlanFactory
        {
            get { return string.IsNullOrWhiteSpace(_backPlanFactory) ? string.Empty : _backPlanFactory; }
            set { _backPlanFactory = value; }
        }

        ///<Summary>
        /// AluFrameSpecs
        ///</Summary>
        public string AluFrameSpecs
        {
            get { return string.IsNullOrWhiteSpace(_aluFrameSpecs) ? string.Empty : _aluFrameSpecs; }
            set { _aluFrameSpecs = value; }
        }

        ///<Summary>
        /// AluFrameFactory
        ///</Summary>
        public string AluFrameFactory
        {
            get { return string.IsNullOrWhiteSpace(_aluFrameFactory) ? string.Empty : _aluFrameFactory; }
            set { _aluFrameFactory = value; }
        }

        ///<Summary>
        /// BatteryCode
        ///</Summary>
        public string BatteryCode
        {
            get { return string.IsNullOrWhiteSpace(_batteryCode) ? string.Empty : _batteryCode; }
            set { _batteryCode = value; }
        }

        ///<Summary>
        /// BatterySpecs
        ///</Summary>
        public string BatterySpecs
        {
            get { return string.IsNullOrWhiteSpace(_batterySpecs) ? string.Empty : _batterySpecs; }
            set { _batterySpecs = value; }
        }

        ///<Summary>
        /// BatteryFactory
        ///</Summary>
        public string BatteryFactory
        {
            get { return string.IsNullOrWhiteSpace(_batteryFactory) ? string.Empty : _batteryFactory; }
            set { _batteryFactory = value; }
        }

        ///<Summary>
        /// 打包批次号
        ///</Summary>
        public string PackBatchNo
        {
            get { return string.IsNullOrWhiteSpace(_packBatchNo) ? string.Empty : _packBatchNo; }
            set { _packBatchNo = value; }
        }

        ///<Summary>
        /// 打包编号
        ///</Summary>
        public string PackNo
        {
            get { return string.IsNullOrWhiteSpace(_packNo) ? string.Empty : _packNo; }
            set { _packNo = value; }
        }

        ///<Summary>
        /// 柜号
        ///</Summary>
        public string CabinetNo
        {
            get { return string.IsNullOrWhiteSpace(_cabinetNo) ? string.Empty : _cabinetNo; }
            set { _cabinetNo = value; }
        }

        ///<Summary>
        /// 拼柜时间
        ///</Summary>
        public DateTime? CabinetTime { get; set; }

        ///<Summary>
        /// 是否已锁定
        ///</Summary>
        public bool Locked { get; set; } = false;

        ///<Summary>
        /// 锁定人
        ///</Summary>
        public int LockedBy { get; set; }

        ///<Summary>
        /// 锁定时间
        ///</Summary>
        public DateTime? LockedTime { get; set; }

        ///<Summary>
        /// 锁定原因
        ///</Summary>
        public string LockedReason
        {
            get { return string.IsNullOrWhiteSpace(_lockedReason) ? string.Empty : _lockedReason; }
            set { _lockedReason = value; }
        }

        ///<Summary>
        /// 生产状态（未生产、生产中、生产完成）
        ///</Summary>
        public Enum.ProduceStatus ProduceStatus { get; set; }

        ///<Summary>
        /// 组件状态（正常、降级、报废）
        ///</Summary>
        public Enum.ProductStatus ProductStatus { get; set; }

        ///<Summary>
        /// 在库状态（未入库、在库、已出库）
        ///</Summary>
        public Enum.StockStatus StockStatus { get; set; }

        ///<Summary>
        /// 报废时间
        ///</Summary>
        public DateTime? ScrapTime { get; set; }

        ///<Summary>
        /// 检测中
        ///</Summary>
        public bool Testing { get; set; }

        ///<Summary>
        /// 返工中
        ///</Summary>
        public bool Reworking { get; set; }

        ///<Summary>
        /// 返工单号
        ///</Summary>
        public string ReworkNo
        {
            get { return string.IsNullOrWhiteSpace(_reworkNo) ? string.Empty : _reworkNo; }
            set { _reworkNo = value; }
        }

        ///<Summary>
        /// 客户代码
        ///</Summary>
        public string CustomerCode
        {
            get { return string.IsNullOrWhiteSpace(_customerCode) ? string.Empty : _customerCode; }
            set { _customerCode = value; }
        }

        ///<Summary>
        /// 客户名称
        ///</Summary>
        public string CustomerName
        {
            get { return string.IsNullOrWhiteSpace(_customerName) ? string.Empty : _customerName; }
            set { _customerName = value; }
        }

        ///<Summary>
        /// 仓库代码
        ///</Summary>
        public string WarehouseCode
        {
            get { return string.IsNullOrWhiteSpace(_warehouseCode) ? string.Empty : _warehouseCode; }
            set { _warehouseCode = value; }
        }

        ///<Summary>
        /// 仓库名称
        ///</Summary>
        public string WarehouseName
        {
            get { return string.IsNullOrWhiteSpace(_warehouseName) ? string.Empty : _warehouseName; }
            set { _warehouseName = value; }
        }

        ///<Summary>
        /// 库区代码
        ///</Summary>
        public string WarehouseAreaCode
        {
            get { return string.IsNullOrWhiteSpace(_warehouseAreaCode) ? string.Empty : _warehouseAreaCode; }
            set { _warehouseAreaCode = value; }
        }

        ///<Summary>
        /// 库区名称
        ///</Summary>
        public string WarehouseAreaName
        {
            get { return string.IsNullOrWhiteSpace(_warehouseAreaName) ? string.Empty : _warehouseAreaName; }
            set { _warehouseAreaName = value; }
        }

        ///<Summary>
        /// 库位名称
        ///</Summary>
        public string Location
        {
            get { return string.IsNullOrWhiteSpace(_location) ? string.Empty : _location; }
            set { _location = value; }
        }

        ///<Summary>
        /// 入库时间
        ///</Summary>
        public DateTime? InboundTime { get; set; }

        ///<Summary>
        /// 出库时间
        ///</Summary>
        public DateTime? OutboundTime { get; set; }

        ///<Summary>
        /// 装车时间
        ///</Summary>
        public DateTime? LoadTime { get; set; }

        ///<Summary>
        /// 电池片面积
        ///</Summary>
        public decimal CellArea { get; set; }

        ///<Summary>
        /// 电池片效率
        ///</Summary>
        public decimal CellEfficiency { get; set; }

        ///<Summary>
        /// 单片功率
        ///</Summary>
        public decimal SinglePiecePower { get; set; }

        ///<Summary>
        /// 理论功率
        ///</Summary>
        public decimal TheoreticalPower { get; set; }

        ///<Summary>
        /// 电池片箱号
        ///</Summary>
        public string CellBoxNo
        {
            get { return string.IsNullOrWhiteSpace(_cellBoxNo) ? string.Empty : _cellBoxNo; }
            set { _cellBoxNo = value; }
        }

        ///<Summary>
        /// 转换效率
        ///</Summary>
        public decimal ConversionEfficiency { get; set; }

        /// <summary>
        /// 入库检时间
        /// </summary>
        public DateTime? InboundInspectTime { get; set; }

        /// <summary>
        /// ERP入库同步
        /// </summary>
        public DateTime? ERPInboundTime { get; set; }

        ///<Summary>
        /// 降级原因代码
        ///</Summary>
        public string DowngradeCode
        {
            get { return string.IsNullOrWhiteSpace(_downgradeCode) ? string.Empty : _downgradeCode; }
            set { _downgradeCode = value; }
        }

        ///<Summary>
        /// 降级原因名称
        ///</Summary>
        public string DowngradeName
        {
            get { return string.IsNullOrWhiteSpace(_downgradeName) ? string.Empty : _downgradeName; }
            set { _downgradeName = value; }
        }

        ///<Summary>
        /// 降级原因分类代码
        ///</Summary>
        public string DowngradeTypeCode
        {
            get { return string.IsNullOrWhiteSpace(_downgradeTypeCode) ? string.Empty : _downgradeTypeCode; }
            set { _downgradeTypeCode = value; }
        }

        ///<Summary>
        /// 降级原因分类名称
        ///</Summary>
        public string DowngradeTypeName
        {
            get { return string.IsNullOrWhiteSpace(_downgradeTypeName) ? string.Empty : _downgradeTypeName; }
            set { _downgradeTypeName = value; }
        }

        /// <summary>
        /// 电池片批次号
        /// </summary>
        public string BatteryBatchNo
        {
            get { return string.IsNullOrWhiteSpace(_batteryBatchNo) ? string.Empty : _batteryBatchNo; }
            set { _batteryBatchNo = value; }
        }

        /// <summary>
        /// 背板批次号
        /// </summary>
        public string BackPlanBatchNo
        {
            get { return string.IsNullOrWhiteSpace(_backPlanBatchNo) ? string.Empty : _backPlanBatchNo; }
            set { _backPlanBatchNo = value; }
        }

        /// <summary>
        /// 边框批次号
        /// </summary>
        public string AluFrameBatchNo
        {
            get { return string.IsNullOrWhiteSpace(_aluFrameBatchNo) ? string.Empty : _aluFrameBatchNo; }
            set { _aluFrameBatchNo = value; }
        }

        /// <summary>
        /// 接线盒批次号
        /// </summary>
        public string JunBoxBatchNo
        {
            get { return string.IsNullOrWhiteSpace(_junBoxBatchNo) ? string.Empty : _junBoxBatchNo; }
            set { _junBoxBatchNo = value; }
        }

        ///<Summary>
        /// 接线盒料号
        ///</Summary>
        public string JunBoxCode
        {
            get { return string.IsNullOrWhiteSpace(_junBoxCode) ? string.Empty : _junBoxCode; }
            set { _junBoxCode = value; }
        }

        ///<Summary>
        /// 短边框料号
        ///</Summary>
        public string ShortFrameCode
        {
            get { return string.IsNullOrWhiteSpace(_shortFrameCode) ? string.Empty : _shortFrameCode; }
            set { _shortFrameCode = value; }
        }

        ///<Summary>
        /// 长边框料号
        ///</Summary>
        public string LongFrameCode
        {
            get { return string.IsNullOrWhiteSpace(_longFrameCode) ? string.Empty : _longFrameCode; }
            set { _longFrameCode = value; }
        }

        ///<Summary>
        /// 背板料号
        ///</Summary>
        public string BackPlanCode
        {
            get { return string.IsNullOrWhiteSpace(_backPlanCode) ? string.Empty : _backPlanCode; }
            set { _backPlanCode = value; }
        }

        ///<Summary>
        /// 玻璃料号
        ///</Summary>
        public string GlassCode
        {
            get { return string.IsNullOrWhiteSpace(_glassCode) ? string.Empty : _glassCode; }
            set { _glassCode = value; }
        }

        ///<Summary>
        /// 硅胶料号
        ///</Summary>
        public string SilicagelCode
        {
            get { return string.IsNullOrWhiteSpace(_silicagelCode) ? string.Empty : _silicagelCode; }
            set { _silicagelCode = value; }
        }

        ///<Summary>
        /// 玻璃厂家
        ///</Summary>
        public string GlassFactory
        {
            get { return string.IsNullOrWhiteSpace(_glassFactory) ? string.Empty : _glassFactory; }
            set { _glassFactory = value; }
        }

        ///<Summary>
        /// GlassSpecs
        ///</Summary>
        public string GlassSpecs
        {
            get { return string.IsNullOrWhiteSpace(_glassSpecs) ? string.Empty : _glassSpecs; }
            set { _glassSpecs = value; }
        }

        ///<Summary>
        /// GlassBatchNo
        ///</Summary>
        public string GlassBatchNo
        {
            get { return string.IsNullOrWhiteSpace(_glassBatchNo) ? string.Empty : _glassBatchNo; }
            set { _glassBatchNo = value; }
        }

        ///<Summary>
        /// EvaCode
        ///</Summary>
        public string EvaCode
        {
            get { return string.IsNullOrWhiteSpace(_evaCode) ? string.Empty : _evaCode; }
            set { _evaCode = value; }
        }

        ///<Summary>
        /// EvaSpecs
        ///</Summary>
        public string EvaSpecs
        {
            get { return string.IsNullOrWhiteSpace(_evaSpecs) ? string.Empty : _evaSpecs; }
            set { _evaSpecs = value; }
        }

        ///<Summary>
        /// EvaCompany
        ///</Summary>
        public string EvaCompany
        {
            get { return string.IsNullOrWhiteSpace(_evaCompany) ? string.Empty : _evaCompany; }
            set { _evaCompany = value; }
        }

        ///<Summary>
        /// EvaBatchNo
        ///</Summary>
        public string EvaBatchNo
        {
            get { return string.IsNullOrWhiteSpace(_evaBatchNo) ? string.Empty : _evaBatchNo; }
            set { _evaBatchNo = value; }
        }

        ///<Summary>
        /// RibbonCode
        ///</Summary>
        public string RibbonCode
        {
            get { return string.IsNullOrWhiteSpace(_ribbonCode) ? string.Empty : _ribbonCode; }
            set { _ribbonCode = value; }
        }

        ///<Summary>
        /// RibbonSpecs
        ///</Summary>
        public string RibbonSpecs
        {
            get { return string.IsNullOrWhiteSpace(_ribbonSpecs) ? string.Empty : _ribbonSpecs; }
            set { _ribbonSpecs = value; }
        }

        ///<Summary>
        /// RibbonCompany
        ///</Summary>
        public string RibbonCompany
        {
            get { return string.IsNullOrWhiteSpace(_ribbonCompany) ? string.Empty : _ribbonCompany; }
            set { _ribbonCompany = value; }
        }

        ///<Summary>
        /// RibbonBatchNo
        ///</Summary>
        public string RibbonBatchNo
        {
            get { return string.IsNullOrWhiteSpace(_ribbonBatchNo) ? string.Empty : _ribbonBatchNo; }
            set { _ribbonBatchNo = value; }
        }

        ///<Summary>
        /// ShortFrameSpecs
        ///</Summary>
        public string ShortFrameSpecs
        {
            get { return string.IsNullOrWhiteSpace(_shortFrameSpecs) ? string.Empty : _shortFrameSpecs; }
            set { _shortFrameSpecs = value; }
        }

        ///<Summary>
        /// ShortFrameCompany
        ///</Summary>
        public string ShortFrameCompany
        {
            get { return string.IsNullOrWhiteSpace(_shortFrameCompany) ? string.Empty : _shortFrameCompany; }
            set { _shortFrameCompany = value; }
        }

        ///<Summary>
        /// ShortFrameBatchNo
        ///</Summary>
        public string ShortFrameBatchNo
        {
            get { return string.IsNullOrWhiteSpace(_shortFrameBatchNo) ? string.Empty : _shortFrameBatchNo; }
            set { _shortFrameBatchNo = value; }
        }
        #endregion

        public string CNLastSite { get { return !LastSite.HasValue ? string.Empty : (!System.Enum.IsDefined(typeof(Enum.SiteType), LastSite.Value) ? string.Empty : EnumConvert.ToDesc(LastSite.Value)); } }

        public string CNProduceStatus { get { return !System.Enum.IsDefined(typeof(Enum.ProduceStatus), ProduceStatus) ? string.Empty : EnumConvert.ToDesc(ProduceStatus); } }

        public string CNProductStatus { get { return !System.Enum.IsDefined(typeof(Enum.ProductStatus), ProductStatus) ? string.Empty : EnumConvert.ToDesc(ProductStatus); } }

        public string CNStockStatus { get { return !System.Enum.IsDefined(typeof(Enum.StockStatus), StockStatus) ? string.Empty : EnumConvert.ToDesc(StockStatus); } }

        public string DistributeTimeStr { get { return DistributeTime?.ToString("yyyy-MM-dd HH:mm:ss") ?? string.Empty; } }
        public string WeldingTimeStr { get { return WeldingTime?.ToString("yyyy-MM-dd HH:mm:ss") ?? string.Empty; } }
        public string LaminatedTimeStr { get { return LaminatedTime?.ToString("yyyy-MM-dd HH:mm:ss") ?? string.Empty; } }
        public string EL1TimeStr { get { return EL1Time?.ToString("yyyy-MM-dd HH:mm:ss") ?? string.Empty; } }
        public string TopTimeStr { get { return TopTime?.ToString("yyyy-MM-dd HH:mm:ss") ?? string.Empty; } }
        public string NQCTimeStr { get { return NQCTime?.ToString("yyyy-MM-dd HH:mm:ss") ?? string.Empty; } }
        public string FramingTimeStr { get { return FramingTime?.ToString("yyyy-MM-dd HH:mm:ss") ?? string.Empty; } }
        public string CleanTimeStr { get { return CleanTime?.ToString("yyyy-MM-dd HH:mm:ss") ?? string.Empty; } }
        public string IVTestTimeStr { get { return IVTestTime?.ToString("yyyy-MM-dd HH:mm:ss") ?? string.Empty; } }
        public string InsulatedResistanceTimeStr { get { return InsulatedResistanceTime?.ToString("yyyy-MM-dd HH:mm:ss") ?? string.Empty; } }
        public string EL2TimeStr { get { return EL2Time?.ToString("yyyy-MM-dd HH:mm:ss") ?? string.Empty; } }
        public string NameplatePrintingTimeStr { get { return NameplatePrintingTime?.ToString("yyyy-MM-dd HH:mm:ss") ?? string.Empty; } }
        public string FinalInspectionTimeStr { get { return FinalInspectionTime?.ToString("yyyy-MM-dd HH:mm:ss") ?? string.Empty; } }
        public string PackTimeStr { get { return PackTime?.ToString("yyyy-MM-dd HH:mm:ss") ?? string.Empty; } }
        public string InboundTimeStr { get { return InboundTime?.ToString("yyyy-MM-dd HH:mm:ss") ?? string.Empty; } }
        public string OutboundTimeStr { get { return OutboundTime?.ToString("yyyy-MM-dd HH:mm:ss") ?? string.Empty; } }
        public string LoadTimeStr { get { return LoadTime?.ToString("yyyy-MM-dd HH:mm:ss") ?? string.Empty; } }
    }
}
